package com.pj.ca.service;

import com.pj.ca.common.LocalCaConstant;
import com.pj.ca.modal.CertReq;
import com.pj.ca.modal.CertResult;
import com.pj.ca.modal.KeyPairResult;

/**
 * 描述：
 *
 * @author pengjun
 * @date 2021/11/3 16:51
 */
public interface CertManageService {
    CertResult certToUser(CertReq req, Integer keySize) throws Exception;
    KeyPairResult createKeyPair(LocalCaConstant.KeyType type, Integer keySize) throws Exception;
}
